package ch7;
//飞行员测试
public class AviatorTest {
    public static void main(String[] args) {
        Airliner a=new Airliner("波音757",30000,30000,160) ;
        Warplane w=new Warplane("歼20",10000,30000,100);
        Aviator av=new Aviator("老王","男",18);
        av.drive(a);
        av.drive(w);
    }
}
